From 19a3f6996761e54b73d6a8637e8a9433e347ef88 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=98yvind=20Kol=C3=A5s?= Date: Tue, 24 Nov 2009 01:18:57 +0000 Subject: [PATCH] Fix logic for type detection in babl_fish_process --- babl/babl-fish-path.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/babl/babl-fish-path.c b/babl/babl-fish-path.c index 08667cf..d0932f3 100644 --- a/babl/babl-fish-path.c +++ b/babl/babl-fish-path.c @@ -377,7 +377,7 @@ babl_process (Babl *babl, babl_assert (n > 0); /* first check if it is a fish since that is out fast path */ - if (babl->class_type >= BABL_FISH || + if (babl->class_type >= BABL_FISH && babl->class_type <= BABL_FISH_PATH) { babl->fish.processings++; -- 2.30.2